import { jyInstance } from "./utils/jy";
import { authAPIURL } from "@/configs/jy";

// 根据accessToken获取新token
export const userRegen = (params: { clienttype: string }) => jyInstance.get(authAPIURL + "/api/v1/user/regen", { params });
// 根据refreshToken换取新token
export const userRefreshToken = (params: { refreshtoken: string }) => jyInstance.get(authAPIURL + "/api/v1/user/refresh-token", { params });
